/* Author : Putri Andita R
 * 		    091511059
 * Proyek 4*/

package jtk.project4.fleet.field;

import jtk.project4.fleet.domain.Parts;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.TextField;

public class QuantityField extends GroupControl{
		
	private TextField quantityField;
		
	public QuantityField(String bindID){
		setBindID(bindID);
		createFields();
		createLayout();
	}	
	
	private void createFields() {
		quantityField = new TextField("qty", 5);
		//quantityField.setEditable(false);
	}
	
	private void createLayout() {
		// TODO Auto-generated method stub
		setLayout(new FormLayout())
		.addLabel("label.totalquantity")		.addField(quantityField);
	}	
}
